{{# Include dynamically added Scripts at the end of the body}}
{{for script in s3.scripts:}}
 {{=SCRIPT(_src=script)}}
{{pass}}
<script type="text/javascript">//<![CDATA[
{{for script in s3.js_global:}}
 {{=XML(script)}}
{{pass}}
{{if s3.jquery_ready:}}
$(document).ready(function(){
 {{for script in s3.jquery_ready:}}
  {{=XML(script)}}
 {{pass}}
})
{{pass}}
{{if settings.get_google_analytics_tracking_id():}}var _gaq=[['_setAccount','{{=settings.get_google_analytics_tracking_id()}}'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script')){{pass}}
//]]></script>
